package com.zxx.pattern.visitorPattern.visitor1;

/**
 * @author zxx on 2021/4/22
 */
public class VisitorTest {

    public static void main(String[] args) {
        BeanComputer computer = new BeanComputer();

        ComputerPartVisitor display = new ComputerPartVisitorDisplay();
        computer.accept(display);

    }

}
